package edu.mju.scenic.mapper;

import edu.mju.scenic.dto.AllSpotDto;
import edu.mju.scenic.entity.Spot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author CBL
 * @since 2020-12-28
 */
public interface SpotMapper extends BaseMapper<Spot> {
    boolean deleteBySpotId(Integer id);

    List<AllSpotDto> getScenicSpotAllInfo(Integer id);
}
